import request from '@/utils/request'

//分页查询项目建议
export function getProjectMessage (query) {
  return request({
    url: '/message/pageQueryProjectMessage',
    method: 'get',
    params: query
  })
}

//查询建议的回复列表
export function queryMessageReply (id) {
  return request({
    url: '/message/querySuggestionReply?projectMessageId=' + id,
    method: 'get'
  })
}

//查询建议的回复列表
export function addMessage (data) {
  return request({
    url: '/message/createMessage',
    method: 'post',
    data
  })
}
